Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(protocol): fix BridgedERC20V2.sol initializer logic #17823

Merged
merged 9 commits into from
Jul 24, 2024

Conversation

dantaik
Copy link
Contributor

@dantaik dantaik commented Jul 21, 2024

BridgedERC20V2 could not be used to upgrade BridgedERC20 without the new init2() function. I also changed init() to mark implementation as version 2 so contract upgraded from BridgedERC20 will have the same version number as newly deployed BridgedERC20V2.

@dantaik dantaik marked this pull request as ready for review July 21, 2024 06:29
@dantaik dantaik changed the title fix(protocol): fix BridgedERC20V2.sol initializer logic. fix(protocol): fix BridgedERC20V2.sol initializer logic Jul 21, 2024
Copy link

openzeppelin-code bot commented Jul 21, 2024

fix(protocol): fix BridgedERC20V2.sol initializer logic

Generated at commit: 71a86c86112631bd0ee4c41d238107186c6b6677

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
2
0
8
42
54
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@dantaik dantaik requested a review from adaki2004 July 21, 2024 07:28
@dantaik dantaik enabled auto-merge July 23, 2024 04:50
@dantaik dantaik disabled auto-merge July 24, 2024 02:32
@dantaik dantaik enabled auto-merge July 24, 2024 02:33
@dantaik dantaik added this pull request to the merge queue Jul 24, 2024
Merged via the queue into main with commit d538d99 Jul 24, 2024
5 checks passed
@dantaik dantaik deleted the BridgedERC20V2_fix branch July 24, 2024 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants